﻿@using OBUCare.Web.Infrastructure;
@using OBUCare.Core.Models;
@using OBUCare.Core.BL
@using OBUCare.Core.DataAccess;
@using OBUCare.Core.Common;
@using OBUCare.Web.Models;

@{
    ViewBag.Title = "Reversal";
    var gvModel = new PartsTransactionGridViewInfo() {
         Action="ListPartsTransfer",
          Controler="Parts",
          //划拨冲正管理界面显示正常的划拨信息(已被冲正或冲正信息不显示)
         DefaultSql = "STATUS="+ DictTypeStatus.Normal.ToInt().Value+" AND TRANSFER_KIND="+Parts_Transfer_Kind.Transfer.ToInt().Value,
        
            IsShowAction=true        
    };
}

<h2 style="text-align:center">元器件划拨冲正管理</h2>

<div>
    @Html.Partial("_ReversalSearch",!gvModel.IsShowAction)
</div>

<div>
   @Html.Partial("_PartsTransactionGridView",gvModel)
</div>


